﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Traceability.Domain.TraceabilityDto
{
    /// <summary>
    /// 商品添加DTO
    /// </summary>
    public class AddShoppingDto
    {
        /// <summary>
        /// 商品ID
        /// </summary>
        public int ShoppingId { get; set; }

        /// <summary>
        /// 生产批次
        /// </summary>
        public string? ProductionBatch { get; set; }

        /// <summary>
        /// 保质期
        /// </summary>
        public int QGPeriod { get; set; }

        /// <summary>
        /// 生产许可证
        /// </summary>
        public string? ProductionLicense { get; set; }

        /// <summary>
        /// 生产企业
        /// </summary>
        public string? ManufacturingEnterprise { get; set; }

        /// <summary>
        /// 信息完善度
        /// </summary>
        public decimal? Information { get; set; }

        /// <summary>
        /// 图片ID
        /// </summary>
        public int PictureId { get; set; }

        /// <summary>
        /// 商品名称ID
        /// </summary>
        public int ShoppingNameId { get; set; }

        /// <summary>
        /// 图片名称
        /// </summary>
        public string? PictureName { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        public string? CreatedBy { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreatedDate { get; set; }
    }
}
